package com.ywqf_api.dao;

import com.ywqf_api.entity.*;
import io.swagger.models.auth.In;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by Administrator on 2018/4/2 0002.
 */
public interface OrderDao {

    FeeDetail findWaterDetail(@Param("paymentId")Integer paymentId);

    FeeDetail findElectDetail(@Param("paymentId")Integer paymentId);

    FeeDetail findHeatingDetail(@Param("paymentId")Integer paymentId);

    FeeDetail findParkingDetail(@Param("paymentId")Integer paymentId);

    FeeDetail findEstateDetail(@Param("paymentId")Integer paymentId);

    FeeDetail orderWaterDetail(@Param("orderId")Integer orderId);

    FeeDetail orderElectricityDetail(@Param("orderId")Integer orderId);

    FeeDetail orderHeatingDetail(@Param("orderId")Integer orderId);

    FeeDetail orderParkingDetail(@Param("orderId")Integer orderId);

    FeeDetail orderEstateDetail(@Param("orderId")Integer orderId);

    order houseKeepOrderDetail(@Param("orderId")Integer orderId);

    List<order> findMyOrder(@Param("customerId")Integer customerId,@Param("goodsTypeId")Integer goodsTypeId);

    List<FeeList> findWater(@Param("houseId")Integer houseId);

    List<FeeList> findElect(@Param("houseId")Integer houseId);

    List<FeeList> findHeating(@Param("houseId")Integer houseId);

    List<FeeList> findParking(@Param("houseId")Integer houseId);

    List<FeeList> findEstate(@Param("houseId")Integer houseId);

    Integer findOrderType(@Param("orderId")Integer orderId);

    Integer findOrderId(@Param("goodsId")Integer goodsId,@Param("paymentId")Integer paymentId);
}
